Improved hardware security module management

ABSTRACT

A computer implemented method of a secure computing component to provide access to a cryptographic key, the key being associated with the secure component by a digitally signed record in a blockchain wherein the blockchain is accessible via a network and includes a plurality of records validated by miner computing components, the method including receiving a request from another secure computing component to associate the key with the other component, the request having associated identification information for a requester of the key; responsive to a verification of an entitlement of the requester, generating a new record for storage in the blockchain, the new record associating the key with the other component and being validated by the miner components; and further responsive to the verification, securely transferring the key to the other component so as to provide access to the key to the key requester via the other component.

CROSS-REFERENCE TO RELATED APPLICATIONS

The present application is a National Phase entry of PCT Application No. PCT/EP2018/065302, filed Jun. 11, 2018, which claims priority from European Patent Application No. 17175392.4 filed Jun. 12, 2017, each of which is fully incorporated herein by reference.

TECHNICAL FIELD

The present disclosure relates to improvements to hardware security modules.

BACKGROUND

Hardware Security Modules (HSMs) are network-connected physical devices tasked with the secure generation, storage and provision of cryptographic keys for use by consuming resources such as computer systems, appliances, devices, software and users. For example, HSMs generate, store and provide public/private key pairs. Increasingly it is necessary for consumers of such keys to require transitioning of the keys between HSMs such that a key generated/managed by a first HSM is securely transitioned for management by a second HSM. For example, transfer may be required due to geography, network topology or a need to migrate from the first HSM (e.g. in the event of fault, deprecation etc.)

While the transfer of a key from a source HSM to a target HSM can be readily effected, certainty of the transfer for consuming resources and non-repudiation of the transfer must be assured.

SUMMARY

Thus, there is a need to address these challenges while providing for the requisite secure and reliable transfer of keys with certainty of key ownership and non-repudiation of the transfer.

The present disclosure accordingly provides, in a first aspect, a computer implemented method of a secure computing component to provide access to a cryptographic key, the key being associated with the secure component by a digitally signed record in a blockchain wherein the blockchain is accessible via a network and includes a plurality of records validated by miner computing components, the method comprising: receiving a request from another secure computing component to associate the key with the other component, the request having associated identification information for a requester of the key; responsive to a verification of an entitlement of the requester, generating a new record for storage in the blockchain, the new record associating the key with the other component and being validated by the miner components; and further responsive to the verification, securely transferring the key to the other component so as to provide access to the key to the key requester via the other component.

In some embodiments the new record for storage in the blockchain includes a reference to the original record for the key such that the new record supersedes the original record to associate the key with the other computing component and to disassociate the key from the original computing component.

In some embodiments the entitlement of the requester is verified based on the identification information for the requester.

In some embodiments each of the original and other secure computing components are hardware security modules (HSMs).

In some embodiments at least some of the miner components are hardware security modules (HSMs).

In some embodiments the blockchain is a distributed transactional database.

In some embodiments the miner components confirm a state of the blockchain by reaching a consensus as to the state of the blockchain based on a proof of work.

The present disclosure accordingly provides, in a second aspect, a computer system including a processor and memory storing computer program code for performing the method set out above.

The present disclosure accordingly provides, in a third aspect, a computer program element comprising computer program code to, when loaded into a computer system and executed thereon, cause the computer to perform the steps of the method set out above.

BRIEF DESCRIPTION OF THE DRAWINGS

Embodiments of the present invention will now be described, by way of example only, with reference to the accompanying drawings, in which:

FIG. 1 is a block diagram a computer system suitable for the operation of embodiments of the present disclosure.

FIG. 2 is a component diagram of an arrangement for providing access to a cryptographic key for a key requester according to embodiments of the present disclosure.

FIG. 3 is a flow diagram of a method of providing access to a cryptographic key for a key requester according to embodiments of the present disclosure.

FIG. 4 is a flow diagram of a method of providing access to a cryptographic key for a key requester according to alternative embodiments of the present disclosure.

DETAILED DESCRIPTION OF THE DRAWINGS

FIG. 1 is a block diagram of a computer system suitable for the operation of embodiments of the present disclosure. A central processor unit (CPU) 102 is communicatively connected to a storage 104 and an input/output (I/O) interface 106 via a data bus 108. The storage 104 can be any read/write storage device such as a random access memory (RAM) or a non-volatile storage device. An example of a non-volatile storage device includes a disk or tape storage device. The I/O interface 106 is an interface to devices for the input or output of data, or for both input and output of data. Examples of I/O devices connectable to I/O interface 106 include a keyboard, a mouse, a display (such as a monitor) and a network connection.

FIG. 2 is a component diagram of an arrangement for providing access to a cryptographic key 205 for a key requester 206 according to embodiments of the present disclosure. A key requester 206 is a hardware, software, firmware or combination component for consuming a cryptographic key 205 in a computing system. For example, the requester 206 can be a computer system or a software component executing within a computer system. In some embodiments, the requester 206 can be a computing facility such as a device employed by a user to access and/or use a cryptographic key 205. The key 205 can be a single cryptographic or digital key or a combination of two or more keys for use together and/or in conjunction, such as a key pair. Preferably, the key 205 is dedicated to the key requester 206 such that the requester 206 is intended to have exclusive use of the key 205.

The key 205 is generated, stored, managed and/or made available by a secure computing component. Such a secure computing component can be a hardware, software, firmware or combination component. In the illustrated embodiment, the secure computing component is a hardware security module (HSM) 202 that can be said to have “ownership” of the key 205 by way of being responsible for the key 205. For example, the owning HSM 202 can be responsible for the storage, provision, security or otherwise making available and handling of the key 205. In preferred embodiments, a single HSM owns the key 205 at a point in time such that only one HSM is able to store, provision, handle and/or make available the key 205 at a point in time.

A second secure computing component, referred to as a receiving secure computing component, is represented in the illustrated embodiments as receiving HSM 203. Initially, the receiving HSM 203 does not have access to the key 205. In use, the receiving HSM 203 receives a request from the key requester 206 to access, receive, retrieve or otherwise handle the key 205. Embodiments of the present invention provide a mechanism for providing the requester 206 with access to the key 205 via the receiving HSM 203 in a secure manner.

The arrangement of FIG. 2 further includes a computer network 200 such as a wired, wireless, or combination network. The network connects each of the owning HSM 202, the receiving HSM 203 and the requester 206. Additionally, communicatively connected to the network 200, or communicable by the network 200, is a distributed sequential transactional database such as a blockchain database 208.

Distributed sequential transactional databases are well known in the field of cryptocurrencies and are documented, for example, in “Mastering Bitcoin. Unlocking Digital Crypto-Currencies.” (Andreas M. Antonopoulos, O'Reilly Media, April 2014). For convenience, such a database is herein referred to as a blockchain though it will be appreciated that other suitable databases, data structures or mechanisms possessing the characteristics essential for embodiments of the present invention could alternatively be used. A blockchain is a distributed chain of block data structures accessed by a network of nodes, referred to here as a miner network. Each block in the blockchain includes a plurality of record data structures known as transactions, each transaction referring or relating to a prior transaction. For example, in one embodiment each blockchain includes a Merkle of hash or digest values for transactions included in the block to arrive at a hash value for the block, which is itself combined with a hash value for a preceding block to generate a chain of blocks (blockchain). A new block of transactions is added to the blockchain by miner software, hardware, firmware or combination systems 210 in a miner network. The miners 210 are communicatively connected to sources of transactions and access or copy the blockchain 208. A miner 210 undertakes validation of the substantive content of a transaction and adds a block of new transactions to the blockchain 208 when a challenge is satisfied as a proof of work, typically such challenge involving a combination hash or digest for a prospective new block and a preceding block in the blockchain 208 and some challenge criterion. Thus, miners 210 in the miner network may each generate prospective new blocks for addition to the blockchain 208. Where a miner 210 satisfies or solves the challenge and validates the transactions in a prospective new block such new block is added to the blockchain 208. Accordingly, the blockchain 208 provides a distributed mechanism for reliably verifying a data entity. The detailed operation of such blockchains and the function of miners in a miner network is beyond the scope of this specification. The manner in which the blockchain 208 and network of miners 210 operate promotes the adoption of verifiably valid transactions as new blocks added to a blockchain 208 in a manner that is persistent within the blockchain 208. Transactions added erroneously or maliciously are not verifiable by other miners 210 in the network and their persistence in the blockchain 208 is undermined. This attribute of blockchains can be exploited by embodiments of the present invention to provide a verifiable and non-repudiable ownership of the key 205 at a point in time as described below with reference to FIGS. 3 and 4.

Notably, in some embodiments, either or each of the owning HSM 202 and the receiving HSM 203 are additionally miners in the miner network. Further, in some embodiments, the miners 210 include HSMs and/or other computing components.

FIG. 3 is a flow diagram of a method of providing access to a cryptographic key 205 for a key requester 206 according to embodiments of the present disclosure. Initially, at 302, the key requester 206 requests access to the key 205 from the receiving HSM 203. The receiving HSM 203 communicates 304 a request to the owning HSM 202 to transfer the key 205, and ownership of the key 205, to the receiving HSM 203 in order that the requester's request can be satisfied.

At 306 the owning HSM 202 verifies an entitlement of the requester 206 to access the key 205. This verification can be achieved based on identification information for the requester 206 that can be provided by the requester 206, such as via the receiving HSM 203. Responsive to the verification of entitlement of the requester 206, the owning HSM 202 generates 308 a new record (a transaction) for storage in the blockchain 208 to record a transfer of ownership of the key 205 from the owning HSM 202 to the receiving HSM 203. The record is provided to miners 210 in the miner network for validation 310 and eventual commitment to the blockchain 208 as a new blockchain record 312, such as a new transaction as part of a new validated block of transactions.

At 314 (which may be dependent on the confirmed validation of the new blockchain record 312 by miners 310), the owning HSM 202 securely transfers the key 205 to the receiving HSM 203. The receiving HSM 203 validates 316 that it has valid ownership of the key 205 with reference to, and validation of, the new blockchain record 312 in the blockchain 208. Subsequently, the receiving HSM 203 securely provides 318 the key 205 to the requester 206.

The use of the blockchain 208 to record validated transfers of ownership of the key 205 provides a reliable, commonly accessible and commonly validated record of ownership of the key 205 with protection from repudiation. In some embodiments, the key 205 is provided to requester 206 only by an owning HSM such that a transfer of ownership of the key 205 effects a change to the HSM for providing the key 205.

The transfer of the key 205 is provided in the blockchain 208 by the new blockchain record 312 which provides an association between the receiving HSM 203 and the key 205. In some embodiments, the original ownership of the key 205 by the owning HSM 202 (prior to a transfer of ownership to the receiving HSM 203) is also recorded by a record in the blockchain 208, i.e. an original record of ownership of the key 205 which associates the owning HSM 202 with the key 205. In this way, the new blockchain record 312 that transfers ownership of the key 205 to the receiving HSM 203 supersedes the original record, and the key 205 becomes associated with the receiving HSM 203, and disassociated from the owning HSM 202, by way of the new record 312. Preferably, this superseding of the original record is achieved by a reference, in the new blockchain record 312, to the original record such as by way of a hash or somesuch of the original record included in the new record 312 that is then digitally signed by the receiving HSM 203 and/or the owning HSM 202. This is consistent with the typical nature of blockchains in which each subsequent block of transactions includes a signed hash of an immediately preceding block so as to provide the irrefutable chaining of blocks and, therefore, the advantages of the blockchain.

In some security architectures and/or policies, access to, use of and/or availability of secure resources such as cryptographic keys can be limited such that there are constraints on a use, rate of use or extent of use of such resources. Embodiments of the present invention are capable of supporting such models of resource use as described below.

FIG. 4 is a flow diagram of a method of providing access to a cryptographic key 205 for a key requester 206 according to alternative embodiments of the present disclosure. In the arrangement according to FIG. 4, the key requester 206 additionally has associated a quantity of fiat value recorded in the blockchain 208. Such fiat value can be realized as, for example, a cryptocurrency such as bitcoin, Ethereum ether or the like. Actions relating to the key 205 can be defined to involve the consumption of such fiat value according to a predetermined policy. For example, a transfer of ownership of the key 205 for the requester 206 can involve the expenditure of cryptocurrency of the requester 206 as a mechanism for constraining a number of such transfers, or to impose a restriction on such transfers relative to a resource cost of such transfers or a resource cost of such ownership by the receiving HSM 203. For example, such resource cost can include a volume or quantity of computing resources consumed or forecast to be consumed by the receiving HSM 203 due to the encumbrance of the receiving HSM 203 by the transfer and/or ownership of the key 205.

According to the flow of FIG. 4, at 302 the requester initially sends a request to the receiving HSM 203 to access the key 205. Subsequently, the receiving HSM 203 prompts the transfer of a predetermined quantity of cryptocurrency 401 by the requester 206. The transfer can be in favor of the receiving HSM 203 such that the receiving HSM 203 receives the cryptocurrency transferred by the requester 206. At 402 the requester 206 generates a new cryptocurrency transaction 402 for submission to miners 210. The miners 210 validate the transaction 403 which becomes committed to the blockchain 208 as a validated transaction 404. Subsequently, at 405, the receiving HSM 203 seeks to validate the cryptocurrency transaction 404 to confirm that the transfer took place and there is an appropriate expenditure of cryptocurrency by the requester 206. Where such validation is affirmative, the receiving HSM 203 proceeds from 304 as previously described with respect to FIG. 3 to effect a transfer of ownership of the key 205 and provision of the key to the requester 206.

Notably, where the transfer or cryptocurrency is not completed, such as due to an insufficient quantity of cryptocurrency associated with the requester 206 or an insufficient volume of currency transferred, then the key transfer process from 304 does not take place. In this way, the extent of access and ownership transfer of the key 205 can be constrained.

Thus, in use, two new blockchain records are created as part of the process of FIG. 4. A first new blockchain record (transaction) is generated, validated and committed to the blockchain 208 to effect the transfer of cryptocurrency. A second new blockchain record (transaction) is generated, validated and committed to the blockchain 208 to effect the transfer or ownership of the key 205.

While the arrangement of FIG. 4 is described such that the cryptocurrency transactions are validated by the same miners 210 and stored in the same blockchain 208 as the key ownership records, it will be apparent to those skilled in the art that a separate blockchain or other sequential distributed transactional database may be employed for the cryptocurrency transactions.

Insofar as embodiments of the disclosure described are implementable, at least in part, using a software-controlled programmable processing device, such as a microprocessor, digital signal processor or other processing device, data processing apparatus or system, it will be appreciated that a computer program for configuring a programmable device, apparatus or system to implement the foregoing described methods is envisaged as an aspect of the present disclosure. The computer program may be embodied as source code or undergo compilation for implementation on a processing device, apparatus or system or may be embodied as object code, for example.

Suitably, the computer program is stored on a carrier medium in machine or device readable form, for example in solid-state memory, magnetic memory such as disk or tape, optically or magneto-optically readable memory such as compact disk or digital versatile disk etc., and the processing device utilizes the program or a part thereof to configure it for operation. The computer program may be supplied from a remote source embodied in a communications medium such as an electronic signal, radio frequency carrier wave or optical carrier wave. Such carrier media are also envisaged as aspects of the present disclosure.

It will be understood by those skilled in the art that, although the present disclosure has been described in relation to the above described example embodiments, the invention is not limited thereto and that there are many possible variations and modifications which fall within the scope of the claims.

The scope of the present disclosure includes any novel features or combination of features disclosed herein. The applicant hereby gives notice that new claims may be formulated to such features or combination of features during prosecution of this application or of any such further applications derived therefrom. In particular, with reference to the appended claims, features from dependent claims may be combined with those of the independent claims and features from respective independent claims may be combined in any appropriate manner and not merely in the specific combinations enumerated in the claims. 

1. A computer implemented method of a first secure computing component to provide access to a cryptographic key, the cryptographic key being associated with the first secure computing component by a digitally signed record in a blockchain,. wherein the blockchain is accessible via a network and includes a plurality of records validated by miner computing components, the method comprising: receiving a request from a second secure computing component to associate the cryptographic key with the second secure computing component, the request having associated identification information for a requester of the cryptographic key; responsive to a verification of an entitlement of the requester, generating a new record for storage in the blockchain, the new record associating the cryptographic key with the second secure computing component and being validated by the miner components; and further responsive to the verification, securely transferring the cryptographic key to the second secure computing component so as to provide access to the cryptographic key to the key requester via the second secure computing component.
 2. The method of claim 1, wherein the new record for storage in the blockchain includes a reference to an original record for the cryptographic key such that the new record supersedes the original record to associate the cryptographic key with the second secure computing component and to disassociate the cryptographic key from first secure computing component.
 3. The method of claim 1, wherein the entitlement of the requester is verified based on the identification information for the requester.
 4. The method of claim 1, wherein each of the first secure computing component and the second secure computing component is a hardware security module (HSM).
 5. The method of claim 1, wherein at least some of the miner components are hardware security modules (HSMs).
 6. The method of claim 1, wherein the blockchain is a distributed transactional database.
 7. The method of claim 1, wherein the miner components confirm a state of the blockchain by reaching a consensus as to the state of the blockchain based on a proof of work.
 8. A computer system comprising: a processor and memory storing computer program code for a first secure computing component to provide access to a cryptographic key, the cryptographic key being associated with the first secure computing component by a digitally signed record in a blockchain, wherein the blockchain is accessible via a network and includes a plurality of records validated by miner computing components, by: receiving a request from a second secure computing component to associate the cryptographic key with the second secure computing component, the request having associated identification information for a requester of the cryptographic key; responsive to a verification of an entitlement of the requester, generating a new record for storage in the blockchain, the new record associating the cryptographic key with the second secure computing component and being validated by the miner components; and further responsive to the verification, securely transferring the cryptographic key to the second secure computing component so as to provide access to the cryptographic key to the key requester via the second secure computing component.
 9. A non-transitory computer-readable storage medium storing a computer program element comprising computer program code to, when loaded into a computer system and executed thereon, cause the computer system to provide access to a cryptographic key, the cryptographic key being associated with a first secure computing component by a digitally signed record in a blockchain, wherein the blockchain is accessible via a network and includes a plurality of records validated by miner computing components, by: receiving a request from a second secure computing component to associate the cryptographic key with the second secure computing component, the request having associated identification information for a requester of the cryptographic key; responsive to a verification of an entitlement of the requester, generating a new record for storage in the blockchain, the new record associating the cryptographic key with the second secure computing component and being validated by the miner components; and further responsive to the verification, securely transferring the cryptographic key to the second secure computing component so as to provide access to the cryptographic key to the key requester via the other second secure computing component. 